package com.duanjw;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ConfigurationClassPostProcessor;

/**
 * 测试spring-context
 *
 * @author duanjw
 */
public class TestApplication {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext();
		ctx.refresh();
		System.out.println(ctx.getBean(ConfigurationClassPostProcessor.class));
	}
}